* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.A {
    text-align: center;
    color: rgb(226, 226, 206);
    background-image: url(2.jpg);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.swiper {
    position: relative;
    width: 857px;
    height: 441px;
    overflow: hidden;
}

input {
    display: none;
}

label {
    position: absolute;
    bottom: 30px;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50%;
    background-color: #fff;
}

label[for="btn1"] {
    left: 35%;
}

label[for="btn2"] {
    left: 40%;
}

label[for="btn3"] {
    left: 45%;
}

label[for="btn4"] {
    left: 50%;
}

label[for="btn5"] {
    left: 55%;
}

label[for="btn6"] {
    left: 60%;
}

label[for="btn7"] {
    left: 65%;
}

ul {
    display: flex;
    width: calc(857px * 7);
    transition: all 0.5s;
}

li {
    list-style-type: none;
}

#btn1:checked~ul {
    margin-left: 0;
}

#btn2:checked~ul {
    margin-left: -857px;
}

#btn3:checked~ul {
    margin-left: calc(-857px * 2);
}

#btn4:checked~ul {
    margin-left: calc(-857px * 3);
}

#btn5:checked~ul {
    margin-left: calc(-857px * 4);
}

#btn6:checked~ul {
    margin-left: calc(-857px * 5);
}

#btn7:checked~ul {
    margin-left: calc(-857px * 6);
}

#btn1:checked~label[for="btn1"] {
    background-color: #f00;
}

#btn2:checked~label[for="btn2"] {
    background-color: #f00;
}

#btn3:checked~label[for="btn3"] {
    background-color: #f00;
}

#btn4:checked~label[for="btn4"] {
    background-color: #f00;
}

#btn5:checked~label[for="btn5"] {
    background-color: #f00;
}

#btn6:checked~label[for="btn6"] {
    background-color: #f00;
}

#btn7:checked~label[for="btn7"] {
    background-color: #f00;
}